Adds support for Cholla's new Concatenation Format#5170
Conversation
Co-authored-by: Matthew Turk <matthewturk@gmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
|
I lightly refactored a little code |
I realized that _split_fname_procid_suffix was no longer used for anything. I think it's nice to have a function that explicitly describes the relationship between the filename passed into yt.load and the filename template. Consequently I replaced this function with a new function called `_infer_fname_template` that we call from `_determine_data_layout` (the contents didn't change dramatically)
d54d19b to
bbf529f
Compare
|
@neutrinoceros, @matthewturk -- I just wanted to ping you to see if there is anything I can do to make this PR easier to review. I would love to see this get merged in time for the 4.5 release (whenever that is) |
-> this testing strategy creates synthetic data and performs a round-trip test to confirm that the data is loaded properly
This is in anticipation of a followup PR adding support for particles
|
@mabruzzo I am so sorry for not seeing and responding sooner. I have reviewed this and it looks really good. I'm OK with either doing another pass or putting it in. Thank you for your hard work on it. |
|
@matthewturk: Not a problem. Thanks for looking it over. I just pushed 4 commits today because I had started to work on a follow-up PR (that adds Particle support) and I was trying to minimize how much the followup PR would change things. The 3 new commits both:
Unfortunately, these tests aren't actually passing on CI (Frankly, I don't know why -- they work when I run |
|
Ok, I think the problem is that my new test relies upon pytest fixtures (and other machinery) and I need to somehow exclude the test from the nose test-runner |
|
Is there an easy way to exclude the test from the nose test runner (but not the pytest runner?) |
|
Yes. Add it to |
PR Summary
This PR adds support for loading Cholla datasets that are:
For context:
This PR introduces support for reading Cholla datasets that are either:
Aside: This PR superseded PR #4702
PR Checklist